package com.weiyan.blog.feign;

import com.weiyan.blog.feign.impl.CommFeignImpl;
import com.weiyan.blog.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author misterWei
 * @create 2020年01月20号:00点24分
 * @mailbox mynameisweiyan@gmail.com
 */
@FeignClient(value = "blog-index",fallback = CommFeignImpl.class)
public interface CommFeign {
    @RequestMapping(value = "/sys/index",method = RequestMethod.GET)
    public Result index();
}
